#include <stdio.h>
#include "main.h"
extern UART_HandleTypeDef huart1;
int fputc(int ch, FILE *f)
{
    HAL_UART_Transmit(&huart1,(uint8_t*)&ch,1,HAL_MAX_DELAY);
    return ch;
}
int fgetc(FILE *f)
{
    int ch=0;
    return ch;
}
